<template>
  <view class="pm120">
    <cpage v-if="idxdf == 0" api="fieldTypeManage" :isFen="true"></cpage>
  </view>
</template>
<script>
import dibu from "@/components/dibu.vue";
import cpage from "./components/cpage.vue";
import fenlier from "./components/fenlier.vue";
export default {
  onBackPress(e) {
    // 右上角的加号点击事件
    uni.switchTab({
            url: "/pages/gongzuo/index",
          });
    return true
  },
  data() {
    return {
      idxdf: 0,
      jhhbbde: [
        {
          name: "场地管理",
          icon: "../../../static/img/fdgdfga_a.png",
          icons: "../../../static/img/fdgdfgb_a.png",
        },
        {
          name: "场地分配",
          icon: "../../../static/img/fdgdfga_b.png",
          icons: "../../../static/img/fdgdfgb_b.png",
        },
        {
          name: "分配记录",
          icon: "../../../static/img/fdgdfga_c.png",
          icons: "../../../static/img/fdgdfgb_c.png",
        },
      ],
    };
  },
  components: {
    dibu,
    cpage,
    fenlier,
  },
  methods: {
    call(e) {
      this.idxdf = e;
    },
  },
  mounted() {},
};
</script>
<style scoped></style>
